#pragma once

#include "Adaptee.h"
#include <boost/shared_ptr.hpp>

class CCharPtrAdapter
{
public:
  CCharPtrAdapter(void) {m_pAdaptee.reset(new CAdaptee);}
  CCharPtrAdapter(CAdaptee* pAdaptee) {m_pAdaptee.reset(pAdaptee);}
  ~CCharPtrAdapter(void) {}
  
public:
  void GetName(char* pszName);
  void SetName(char* pszName);

private:
  boost::shared_ptr<CAdaptee> m_pAdaptee;
};
